package com.glowdayz.glowmee.cmd;

import com.glowdayz.common.MultipartBox.FileInfo;

/** 회원/관리자 계정의 정보를 표현하는 Model 클래스 */
public class RegisterCMD {
	
	private int idRegister;
	private String userType;
	private String eMail;
	private String passWord;
	private String nickName;
	private int location;
	private String locationValue1;
	private String locationValue2;
	private int birthYear;
	private int skinType;
	private String skinTypeValue;
	private int gender;
	private String genderValue;
	private int isActivity;
	private int userImg;
	private FileInfo image;
	private int recommender;
	private String recommenderValue;
	private int adminLevel;
	private String create_date;
	private String modified_date;
	private int pouchCount;
	private int reviewCount;
	private int recommentCount;
	private int wishCount;
	private String userTel;
	private String userAddress;
	private int userPouchCount;
	private String regId;
	
	public RegisterCMD() {
	}
	
	/** 회원 가입용 */
	public RegisterCMD(String eMail, String passWord, int recommender, String nickName, String regId) {
		super();
		this.eMail = eMail;
		this.passWord = passWord;
		this.recommender = recommender;
		this.nickName = nickName;
		this.regId = regId;
	}
	
	/** 회원 가입 추가용 */
	public RegisterCMD(int idRegister, int location,
			int birthYear,	int skinType, int gender) {
		super();
		this.idRegister = idRegister;
		this.location = location;
		this.birthYear = birthYear;
		this.skinType = skinType;
		this.gender = gender;
	}
	
	/** 회원 프로필 수정용 */
	public RegisterCMD(int idRegister, String nickName, int location, int birthYear,
			int skinType, int gender, int userImg) {
		super();
		this.idRegister = idRegister;
		this.nickName = nickName;
		this.location = location;
		this.birthYear = birthYear;
		this.skinType = skinType;
		this.gender = gender;
		this.userImg = userImg;
	}
	
	/** 회원 비밀번호 수정용 */
	public RegisterCMD(int idRegister, String passWord) {
		super();
		this.idRegister = idRegister;
		this.passWord = passWord;
	}
	
	/** 회원/관리자 탈퇴 및 수정용 */
	public RegisterCMD(int idRegister, int isActivity) {
		super();
		this.idRegister = idRegister;
		this.isActivity = isActivity;
	}
	
	/** 관리자 추가용 */
	public RegisterCMD(String eMail, String passWord, String nickName, int adminLevel) {
		super();
		this.eMail = eMail;
		this.passWord = passWord;
		this.nickName = nickName;
		this.adminLevel = adminLevel;
	}
	
	
	/** 회원 조회용 */
	public RegisterCMD(int idRegister, String eMail,
			String passWord, String nickName, int location,
			String locationValue1, String locationValue2, int birthYear,
			int skinType, String skinTypeValue, int gender, String genderValue,
			int isActivity, int userImg, FileInfo image, int recommender,
			String recommenderValue, String create_date,
			String modified_date, int pouchCount,
			int reviewCount, int recommentCount, int wishCount) {
		super();
		this.idRegister = idRegister;
		this.eMail = eMail;
		this.passWord = passWord;
		this.nickName = nickName;
		this.location = location;
		this.locationValue1 = locationValue1;
		this.locationValue2 = locationValue2;
		this.birthYear = birthYear;
		this.skinType = skinType;
		this.skinTypeValue = skinTypeValue;
		this.gender = gender;
		this.genderValue = genderValue;
		this.isActivity = isActivity;
		this.userImg = userImg;
		this.image = image;
		this.recommender = recommender;
		this.recommenderValue = recommenderValue;
		this.create_date = create_date;
		this.modified_date = modified_date;
		this.pouchCount = pouchCount;
		this.reviewCount = reviewCount;
		this.recommentCount = recommentCount;
		this.wishCount = wishCount;
	}
	
	/** 회원 조회 xml */
	public RegisterCMD(int idRegister, String eMail, String nickName,
			String locationValue1, String locationValue2, int birthYear,
			String skinTypeValue, String genderValue, FileInfo image,
			String userTel, String userAddress, int pouchCount, int reviewCount, int userPouchCount) {
		super();
		this.idRegister = idRegister;
		this.eMail = eMail;
		this.nickName = nickName;
		this.locationValue1 = locationValue1;
		this.locationValue2 = locationValue2;
		this.birthYear = birthYear;
		this.skinTypeValue = skinTypeValue;
		this.genderValue = genderValue;
		this.image = image;
		this.userTel = userTel;
		this.userAddress = userAddress;
		this.pouchCount = pouchCount;
		this.reviewCount = reviewCount;
		this.userPouchCount = userPouchCount;
	}

	/** 회원/관리자 리스트 출력용 */
	public RegisterCMD(int idRegister, String userType, String eMail,
			String passWord, String nickName, int location, int birthYear,
			int skinType, int gender, int isActivity, int userImg,
			int recommender, int adminLevel, String create_date,
			String modified_date) {
		super();
		this.idRegister = idRegister;
		this.userType = userType;
		this.eMail = eMail;
		this.passWord = passWord;
		this.nickName = nickName;
		this.location = location;
		this.birthYear = birthYear;
		this.skinType = skinType;
		this.gender = gender;
		this.isActivity = isActivity;
		this.userImg = userImg;
		this.recommender = recommender;
		this.adminLevel = adminLevel;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}
	
	/** 로그인용 */
	public RegisterCMD(int idRegister, String userType, String eMail,
			String passWord, String nickName, int isActivity,
			int adminLevel, String create_date, String modified_date) {
		super();
		this.idRegister = idRegister;
		this.userType = userType;
		this.eMail = eMail;
		this.passWord = passWord;
		this.nickName = nickName;
		this.isActivity = isActivity;
		this.adminLevel = adminLevel;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}
	
	public RegisterCMD(int idRegister, String userTel,
			String userAddress) {
		super();
		this.idRegister = idRegister;
		this.userTel = userTel;
		this.userAddress = userAddress;
	}

	public RegisterCMD(int idRegister, String userType, String eMail,
			String passWord, String nickName, int location,
			String locationValue1, String locationValue2, int birthYear,
			int skinType, String skinTypeValue, int gender, String genderValue,
			int isActivity, int userImg, FileInfo image, int recommender,
			String recommenderValue, int adminLevel, String create_date,
			String modified_date, int pouchCount, int reviewCount,
			int recommentCount, int wishCount, String userTel,
			String userAddress, int userPouchCount, String regId) {
		super();
		this.idRegister = idRegister;
		this.userType = userType;
		this.eMail = eMail;
		this.passWord = passWord;
		this.nickName = nickName;
		this.location = location;
		this.locationValue1 = locationValue1;
		this.locationValue2 = locationValue2;
		this.birthYear = birthYear;
		this.skinType = skinType;
		this.skinTypeValue = skinTypeValue;
		this.gender = gender;
		this.genderValue = genderValue;
		this.isActivity = isActivity;
		this.userImg = userImg;
		this.image = image;
		this.recommender = recommender;
		this.recommenderValue = recommenderValue;
		this.adminLevel = adminLevel;
		this.create_date = create_date;
		this.modified_date = modified_date;
		this.pouchCount = pouchCount;
		this.reviewCount = reviewCount;
		this.recommentCount = recommentCount;
		this.wishCount = wishCount;
		this.userTel = userTel;
		this.userAddress = userAddress;
		this.userPouchCount = userPouchCount;
		this.regId = regId;
	}

	public int getIdRegister() {
		return idRegister;
	}

	public void setIdRegister(int idRegister) {
		this.idRegister = idRegister;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String geteMail() {
		return eMail;
	}

	public void seteMail(String eMail) {
		this.eMail = eMail;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public int getLocation() {
		return location;
	}

	public void setLocation(int location) {
		this.location = location;
	}

	public String getLocationValue1() {
		return locationValue1;
	}

	public void setLocationValue1(String locationValue1) {
		this.locationValue1 = locationValue1;
	}

	public String getLocationValue2() {
		return locationValue2;
	}

	public void setLocationValue2(String locationValue2) {
		this.locationValue2 = locationValue2;
	}

	public int getBirthYear() {
		return birthYear;
	}

	public void setBirthYear(int birthYear) {
		this.birthYear = birthYear;
	}

	public int getSkinType() {
		return skinType;
	}

	public void setSkinType(int skinType) {
		this.skinType = skinType;
	}

	public String getSkinTypeValue() {
		return skinTypeValue;
	}

	public void setSkinTypeValue(String skinTypeValue) {
		this.skinTypeValue = skinTypeValue;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public String getGenderValue() {
		return genderValue;
	}

	public void setGenderValue(String genderValue) {
		this.genderValue = genderValue;
	}

	public int getIsActivity() {
		return isActivity;
	}

	public void setIsActivity(int isActivity) {
		this.isActivity = isActivity;
	}

	public int getUserImg() {
		return userImg;
	}

	public void setUserImg(int userImg) {
		this.userImg = userImg;
	}

	public FileInfo getImage() {
		return image;
	}

	public void setImage(FileInfo image) {
		this.image = image;
	}

	public int getRecommender() {
		return recommender;
	}

	public void setRecommender(int recommender) {
		this.recommender = recommender;
	}

	public String getRecommenderValue() {
		return recommenderValue;
	}

	public void setRecommenderValue(String recommenderValue) {
		this.recommenderValue = recommenderValue;
	}

	public int getAdminLevel() {
		return adminLevel;
	}

	public void setAdminLevel(int adminLevel) {
		this.adminLevel = adminLevel;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	public int getPouchCount() {
		return pouchCount;
	}

	public void setPouchCount(int pouchCount) {
		this.pouchCount = pouchCount;
	}

	public int getReviewCount() {
		return reviewCount;
	}

	public void setReviewCount(int reviewCount) {
		this.reviewCount = reviewCount;
	}

	public int getRecommentCount() {
		return recommentCount;
	}

	public void setRecommentCount(int recommentCount) {
		this.recommentCount = recommentCount;
	}

	public int getWishCount() {
		return wishCount;
	}

	public void setWishCount(int wishCount) {
		this.wishCount = wishCount;
	}

	public String getUserTel() {
		return userTel;
	}

	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public int getUserPouchCount() {
		return userPouchCount;
	}

	public void setUserPouchCount(int userPouchCount) {
		this.userPouchCount = userPouchCount;
	}

	public String getRegId() {
		return regId;
	}

	public void setRegId(String regId) {
		this.regId = regId;
	}

	@Override
	public String toString() {
		return "RegisterCMD [idRegister=" + idRegister + ", userType="
				+ userType + ", eMail=" + eMail + ", passWord=" + passWord
				+ ", nickName=" + nickName + ", location=" + location
				+ ", locationValue1=" + locationValue1 + ", locationValue2="
				+ locationValue2 + ", birthYear=" + birthYear + ", skinType="
				+ skinType + ", skinTypeValue=" + skinTypeValue + ", gender="
				+ gender + ", genderValue=" + genderValue + ", isActivity="
				+ isActivity + ", userImg=" + userImg + ", image=" + image
				+ ", recommender=" + recommender + ", recommenderValue="
				+ recommenderValue + ", adminLevel=" + adminLevel
				+ ", create_date=" + create_date + ", modified_date="
				+ modified_date + ", pouchCount=" + pouchCount
				+ ", reviewCount=" + reviewCount + ", recommentCount="
				+ recommentCount + ", wishCount=" + wishCount + ", userTel="
				+ userTel + ", userAddress=" + userAddress
				+ ", userPouchCount=" + userPouchCount + ", regId=" + regId
				+ "]";
	}
	
}
